package com.zbiti.anvil.basic.module.business.autoconfigure;



import com.zbiti.anvil.basic.module.business.api.service.IBookCategory2Service;
import com.zbiti.anvil.basic.module.business.service.mapper.BookCategory2Mapper;
import com.zbiti.anvil.basic.module.business.service.service.impl.BookCategory2ServiceImpl;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * book_category2自动装配
 *
 * @author generator
 * @date 2025-04-08 12:17:44
 */
@Configuration
public class BookCategory2Configuration {

    /**
     * book_category2服务
     *
     * @param bookCategory2Mapper book_category2Mapper
     * @return 服务对象
     */
    @Bean(name = "bookCategory2ServiceImpl")
    @ConditionalOnMissingBean(name = "bookCategory2ServiceImpl")
    public IBookCategory2Service bookCategory2ServiceImpl(BookCategory2Mapper bookCategory2Mapper) {
        return new BookCategory2ServiceImpl(bookCategory2Mapper);
    }

}
